﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NodeAddionalPub_save.aspx.cs"
    Inherits="TRPOP.CMS.Web.Admin.NodeAddionalPub_save" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>附加发布管理-<%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table id="page_navigator">
        <tr>
            <td>
                当前位置：发布管理 -> 附加发布 ->
                <%=TRPOP.Common.PageAssist.AddOrEdit(base.m_IsAdd)%>附加发布
            </td>
        </tr>
    </table>
    <table class="table_form">
        <tr>
            <th>
                发布名
            </th>
            <td>
                <cms:TextBox runat="server" ID="txtPubName" MaxLength="200" required="1" prompt="发布名"
                    TabIndex="1" />
                <span class="FontWarn">*</span><span class="sp_tiptitle">必填项不能为空！</span>
            </td>
        </tr>
        <tr>
            <th>
                发布文件名
            </th>
            <td>
                <cms:TextBox runat="server" ID="txtPageName" MaxLength="200" required="1" prompt="发布文件名"
                    TabIndex="1" />
                <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过100个字符！</span>
            </td>
        </tr>
        <tr>
            <th>
                套用模板
            </th>
            <td>
                <cms:TextBox ID="txtTemplate" runat="server" required="1" TabIndex="2" prompt="模板文件"
                    ControlValueType="String"></cms:TextBox>
                <cms:HiddenField ID="txtTemplateRoot" runat="server" />
                <a href="javascript:show_dialog('../AdminSelect.aspx?roottype=templete&extname=.html|.htm&setid=txtTemplate',450,280,'选择模板');">
                    选择模板</a> <span runat="server" id="span_edit_content" visible="false">
                        <%--<a href="javascript:alert('编辑页面功能需要开发');">编辑</a>--%></span> <span class="FontWarn">
                            *</span><span class="sp_tiptitle">必填项不能为空！</span>
            </td>
        </tr>
        <tr>
            <th width="20%">
                自定义发布点(PSN)
            </th>
            <td>
                <cms:TextBox runat="server" ID="txtSelfPSN" MaxLength="300" prompt="自定义发布点(PSN)"
                    TabIndex="3" />
                <a href="javascript:show_dialog('../AdminSelect.aspx?roottype=psn&extname=&setid=txtSelf&selpath=',450,280,'选择资源发布点');">
                    选择目录</a>
            </td>
        </tr>
        <tr>
            <th width="20%">
                自定义发布URL
            </th>
            <td>
                <cms:TextBox runat="server" ID="txtSelfUrl" MaxLength="300" prompt="自定义发布URL" TabIndex="3" />
            </td>
        </tr>
        <tr>
            <th width="20%" valign="middle">
                附加注释
            </th>
            <td>
                <cms:TextBox runat="server" ID="txtIntro" TextMode="MultiLine" Height="100px" TabIndex="3" />
            </td>
        </tr>
        <tr>
            <th>
            </th>
            <td>
                <cms:Button CssClass="button_style" ID="btnSubmit" Text="确定" OnClientClick="return CheckForm(this.form);"
                    runat="server" OnClick="btnSubmit_Click" />
                <input class="button_style" name="reset" value="重置" type="reset">
                <input class="button_style" name="reset" onclick="javascript:window.location='NodeAddionalPub_list.aspx?nodeid=<%= m_intNodeId%>';"
                    value="返回" type="button">
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
